package com.yonyou.gmmc.service.pointactivity.service;

import com.yonyou.gmmc.service.pointactivity.dao.ReservationMapper;
import com.yonyou.gmmc.service.pointactivity.dao.TmWinningAttributeMapper;
import com.yonyou.gmmc.service.pointactivity.model.TmWinningAttribute;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Created by dnys on 2017/9/18.
 */
@Service(value = "tmWinningAttributeService")
@Transactional
public class TmWinningAttributeService {
    @Autowired
    private TmWinningAttributeMapper tmWinningAttributeMapper;
    public List<TmWinningAttribute> queryWinnerAttribute(String startdate){
        return tmWinningAttributeMapper.queryWinnerAttribute(startdate);
    }
    public String queryWinnerAttributeByStartDate(String startDate){
        return tmWinningAttributeMapper.queryWinnerAttributeByStartDate(startDate);
    }
}
